package com.yl.module.user.listener;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.ApplicationListener;

@Slf4j
public class UserLogListener implements ApplicationListener<UserLogEvent> {
    @Override
    public void onApplicationEvent(UserLogEvent event) {
        String msg = event.getMsg();
        log.info(msg);
    }
}
